package com.th.supcom.pds.internal.api.phamapply;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.th.supcom.pds.domain.pojo.InpPhamApplyDetailSummary;
import com.th.supcom.pds.domain.vo.InpPhamApplyDetailSummaryVO;

/**
 * 住院摆药查询药品属性及库存
 * 
 * @author 王剑
 */
public interface InpPhamApplyInfoQueryService
{
    /** 日志记录器. */
    public static final Logger s_logger = LoggerFactory.getLogger (InpPhamApplyInfoQueryService.class);

    /**
     * 护理单元请领时，通过InpPhamApplyDetailSummaryVO中药品标准码List查询药品基本属性
     * 
     * @param inpPhamApplyDetailSummaryVO
     * @return
     */

    public List <InpPhamApplyDetailSummary> findInpApplyBasicPhamInfo (InpPhamApplyDetailSummaryVO inpPhamApplyDetailSummaryVO);

    /**
     * 查询药品可供并存在库存的药房
     * 
     * @param list
     * @return
     */
    public List <InpPhamApplyDetailSummary> findAvailableDispensary (List <InpPhamApplyDetailSummary> list);

    /**
     * 护理单元请领时，通过药品标准码和发药药房List查询药品库存和供药信息
     * 
     * @param list
     * @return
     */
    public List <InpPhamApplyDetailSummary> findInpApplyPhamStockInfo (List <InpPhamApplyDetailSummary> list);

    /**
     * 药房摆药时，通过药品标准码List和摆药药房查询药品属性
     * 
     * @param list
     * @return
     */
    public List <InpPhamApplyDetailSummary> findInpDispensePhamInfo (InpPhamApplyDetailSummaryVO inpPhamApplyDetailSummaryVO);

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, XuNuo Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}
